/**
 * 
 */
package test.org.cnbi.view.pojo;

/**
 * Copyright © 2014中国经邦. All rights reserved.
 * 
 * @author 龚佳新
 * @date 2014年5月5日下午2:22:38
 * @cnbi-web "图书编号", "图书名称", "图书作者", "图书价格", "图书ISBN", "图书出版社", "封面图片"
 */
public class Book {

	private int id;
	private String name;
	private String author;

	private double price;

	private String isbn;

	private String where;

	private byte[] picture;
	
	public Book(){}

	/**
	 * @param id
	 * @param name
	 * @param author
	 * @param price
	 * @param isbn
	 * @param where
	 * @param picture
	 */
	public Book(int id, String name, String author, double price, String isbn, String where, byte[] picture) {
		super();
		this.id = id;
		this.name = name;
		this.author = author;
		this.price = price;
		this.isbn = isbn;
		this.where = where;
		this.picture = picture;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * @param author the author to set
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * @return the price
	 */
	public double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(double price) {
		this.price = price;
	}

	/**
	 * @return the isbn
	 */
	public String getIsbn() {
		return isbn;
	}

	/**
	 * @param isbn the isbn to set
	 */
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	/**
	 * @return the where
	 */
	public String getWhere() {
		return where;
	}

	/**
	 * @param where the where to set
	 */
	public void setWhere(String where) {
		this.where = where;
	}

	/**
	 * @return the picture
	 */
	public byte[] getPicture() {
		return picture;
	}

	/**
	 * @param picture the picture to set
	 */
	public void setPicture(byte[] picture) {
		this.picture = picture;
	}
	
	

}
